Repository navigation
mcpx: give plugin.instructions an effect probe (#8472) - #13345
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One burn-down slice of #8472 (settings plugin family), landed under Drew's 2026-11-23 batch approval of the outstanding flag holds. Prepared scope: Lane KX's hold record on #8472; the bun suite was drafted by Lane KQ (recorded 5/5 green before the hold) and is adopted unchanged.
What changed:
plugin/opencode/v2/instructions.test.tsdriving the realsetupMcpxV2:MCPX_PLUGIN_INSTRUCTIONSthroughresolveOptions(host option first, then the environment, default false) — unset and explicit false append nothing; true appends the session-context paragraph, once per system array; another truthy spelling appends it too; the host option beats the environment in both directions.TestPluginInstructionsAppendsTheContextParagraphFromTheEnvironmentininternal/e2e/plugin_test.gorunning that suite; mirror entry inimplementedEffectProbesand anchor ineffectProbeFuncs(internal/e2e/effect_test.go).plugin.instructionsmoves fromEffectExemptionstoEffectProbesininternal/settings/effect.go;EffectExemptionPin8 → 7; the setting's line is deleted frominternal/e2e/feature_coverage_exemptions.txt.Verification (laptop, on the rebased tree):
bun test plugin/opencode/v2/instructions.test.ts— 5 pass / 0 failgo test ./internal/e2e/ -run TestPlugin— all 13 plugin probes pass, including the new oneTestEffectProbeDeclarationsMatchTheProbesThatExistand allTestFeatureCoverage*guards pass;go test ./internal/settings/okplugin/opencode/mcpx/instructions.test.ts— 3 pass / 0 fail#8472 stays open:
plugin.disabledToolsremains in the exemption list, alongside the five non-plugin exemptions andprotoTasks.cancelGrace(#8473).{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-23T14:01:42Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": null, "model": null, "lane_start_issues": [], "workspace_ref": null, "auth_subject": "archer", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.